<div class="panel panel-inverse modal-dialog modal-lg" data-sortable-id="ui-general-1">
    <div class="panel-heading">
        <div class="panel-heading-btn">
            <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-danger" data-dismiss="modal" ><i class="fa fa-times"></i></a>
        </div>
        <h4 class="panel-title">修改菜单</h4>
    </div>
    <div class="panel-body">
        <form class="form-horizontal form-bordered" data-parsley-validate="true" id="menu-edit-form">
            <div class="form-group">
                <label class="control-label col-md-2 col-sm-2" for="menuName">菜单名称 * :</label>
                <div class="col-md-7 col-sm-7">
                    <input class="form-control" type="text" id="menuName" name="menuName" placeholder="必填" data-parsley-required="true" />
                    <input  type="hidden" id="menuId" name="menuId" value="" />
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-md-2 col-sm-2" >菜单类型 * :</label>
                <div class="col-md-7 col-sm-7">
                    <label class="custom-control custom-radio">
                        <input name="type" type="radio" value="0" checked class="custom-control-input">
                        <span class="custom-control-indicator"></span>
                        <span class="custom-control-description">菜单</span>
                    </label>
                    <label class="custom-control custom-radio">
                        <input name="type" type="radio" value="1" class="custom-control-input">
                        <span class="custom-control-indicator"></span>
                        <span class="custom-control-description">按钮</span>
                    </label>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-md-2 col-sm-2" for="url">菜单地址 * :</label>
                <div class="col-md-7 col-sm-7">
                    <input class="form-control" type="text" id="url" name="url" placeholder="请求地址" />
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-md-2 col-sm-2" for="icon"> 菜单图标 :</label>
                <div class="col-md-7 col-sm-7">
                    <input class="form-control" type="text" id="icon" name="icon" placeholder="模板图标" data-parsley-required="true" />
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-md-2 col-sm-2" for="icon"> 权限描述 :</label>
                <div class="col-md-7 col-sm-7">
                    <input type="text" id="perms" name="perms" class="form-control">
                </div>
            </div>
            <div class="form-group">

                <label class="control-label col-md-2 col-sm-2" >上级菜单  :</label>
                <div class="col-md-7 col-sm-7">
                    <div class="form-group">
                        <div id="menuTree"></div>
                    </div>
                    <input type="hidden" name="parentId">
                </div>
            </div>
        </form>
    </div>
    <div class="panel-footer">
        <a href="javascript:;" class="btn btn-sm btn-danger pull-right m-3" onclick="editMenuInfo();">保存</a>
        <a href="javascript:;" class="btn btn-sm btn-white pull-right m-3" data-dismiss="modal">取消</a>
        <div class="clearfix"></div>
    </div>
</div>
<script data-th-src="@{js/app/system/menu/menuEdit.js}"></script>